package com.nipun.graph.objects;

public class EdgeImpl implements Edge {
	
	private Vertex node1;
	
	private Vertex node2;
	
	private EdgeImpl(){}
	
	public EdgeImpl(Vertex node1, Vertex node2){
		this.node1 = node1;
		this.node2 = node2;
	}
	
	public Vertex getNode1() {
		return node1;
	}

	public Vertex getNode2() {
		return node2;
	}

	public double getWeight() {
		return 0;
	}
	
	


}
